package dk.dtu.is.model.settings;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name ="AppSettings")
public class AppSettings {

		private ClientSettings clientSettings;
		private Iec61850ServerSettings iec61850ServerSettings;
		
		@XmlElement(name="ClientSettings")
		public ClientSettings getClientSettings() {
			return clientSettings;
		}
		public void setClientSettings(ClientSettings clientSettings) {
			this.clientSettings = clientSettings;
		}
		
		
		@XmlElement(name="IEC61850ServerSettings")
		public Iec61850ServerSettings getIec61850ServerSettings() {
			return iec61850ServerSettings;
		}
		public void setIec61850ServerSettings(Iec61850ServerSettings iec61850ServerSettings) {
			this.iec61850ServerSettings = iec61850ServerSettings;
		}
		
	    @Override
	    public String toString() {
	        return "AppSettings ["
	            + (clientSettings!= null ? "ClientSettings=" + clientSettings.toString() + ", " : "")
	            + (iec61850ServerSettings!= null ? "Iec61850ServerSettings=" + iec61850ServerSettings: "") + "]";
	    }

		
	}

